<div class="clearfix main-width mt1x mb4x bg-silver login-reg">
  <img src="/statics/front/images/user/sign-in.jpg" alt="西装定制" class="col-md-6 center-block pl0">
  <form action="<?php echo url('user/login');?>" method="post" class="col-md-6 js-login-form">
    <dl class="mt2x auto login-box">
      <dt class="clearfix font-md">
        <span class="pull-left"><?php echo L('login');?></span>
        <a href="javascript:;" class="pull-right js-toggle">加入OWNONLY</a>
      </dt>
      <dd><input type="text" name="username" placeholder="<?php echo L('login_name');?>"></dd>
      <dd><input type="password" name="password" placeholder="<?php echo L('login_passwd');?>"></dd>
      <dd class="clearfix">
        <label class="pull-left">
          <input type="checkbox" checked>
          <span>记住密码</span>
        </label>
        <a href="<?php echo url('user/getpassword');?>" rel="nofollow" class="pull-right black"><?php echo L('get_passwd');?></a>
      </dd>
      <dd>
        <input type="hidden" name="src" value="<?php echo isset($src) ? $src : null; ?>">
        <input type="hidden" name="action" value="<?php echo isset($action) ? $action : null; ?>">
        <input type="hidden" name="goback" value="<?php echo $http;?>">
        <input type="submit" name="dosubmit" value="<?php echo L('login');?>" class="btn">
      </dd>
      <dd>
        <div class="heading" style="margin-bottom:30px;">
          <strong style="background-color:#f4f4f4;font-size:1em;color:#ccc;">使用第三方帐号登录</strong>
        </div>
        <a href="<?php echo url('user/qq_login');?>" class="qq-login"><?php echo L('login_with_qq');?></a>
      </dd>
    </dl>
  </form>
</div>
<div class="clearfix main-width mt1x mb4x bg-silver login-reg hide">
  <img src="/statics/front/images/user/sign-up.jpg" alt="西装定制" class="col-md-6 center-block pl0">
  <form action="<?php echo url('user/register');?>" method="post" autocomplete="off" class="col-md-6 js-register-form">
    <dl class="mt2x auto register-box">
      <dt class="clearfix font-md">
        <span class="pull-left"><?php echo L('register');?></span>
        <a href="javascript:;" class="pull-right js-toggle">已有帐号</a>
      </dt>
      <dd><input type="text" name="phone" placeholder="<?php echo L('phone');?>"></dd>
      <dd><input type="text" name="email" placeholder="<?php echo L('email');?>"></dd>
      <dd><input type="password" name="password" placeholder="<?php echo L('password');?>"></dd>
      <dd><input type="password" name="confirm_password" placeholder="<?php echo L('confirm_password');?>"></dd>
      <dd class="align-left">
        <label>
          <input type="checkbox" name="is_email" checked>
          <span><?php echo L('join_our_mailing');?></span>
        </label>
      </dd>
      <dd>
        <input type="hidden" name="src" value="<?php echo isset($src) ? $src : null; ?>">
        <input type="hidden" name="action" value="<?php echo isset($action) ? $action : null; ?>">
        <input type="submit" name="dosubmit" value="<?php echo L('submit');?>" class="btn">
      </dd>
    </dl>
  </form>
</div>
<script src="/statics/front/js/scripts/user-center/login-reg/login-reg.js"></script>
<script src="/statics/front/js/scripts/user-center/login-reg/validate.js"></script>
<script src="/statics/front/js/scripts/user-center/login-reg/placeholder.js"></script>